package com.xiaoshuidi.cloud.module.report.framework.security.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Component
@Getter
@RefreshScope
public class ConfigValues {

    public static String profilesActive;


    @Value("${nfs-path}")
    private  String nfsPath;

    @Value("${supplementary-flag}")
    private Boolean supplementaryFlag;



    @Value("spring.profiles.active")
    public void setProfilesActive(String profilesActive) {
        ConfigValues.profilesActive = profilesActive;
    }

}
